import dayjs from "dayjs";
export const approvalRecordColumns = [
    {
        prop: "source",
        label: "来源",
        width: "40px",
    },
    {
        prop: "staffId",
        label: "审批人ID",
        width: "80px",
    },
    {
        prop: "staffName",
        label: "审批人姓名",
        width: "100px",
    },

    {
        prop: "checkedTime",
        label: "审批时间",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "info",
        label: "审批说明",
        width: "80px",
    },
    {
        prop: "result",
        label: "审批结果",
        width: "80px",
    },
    {
        prop: "businessFlag",
        label: "审批类型",
        width: "80px",
    },
    {
        prop: "keyId",
        label: "关联业务ID",
        width: "100px",
    },
    {
        prop: "approvalFlag",
        label: "审批类型",
        width: "80px",
    },
    {
        prop: "approvalStatusInfo",
        label: "审批状态说明",
        width: "120px",
    }
];
